<extend name="Layout:layout_dialog" />
<block name="body_main">
    <form action="{:U('setting_save')}" method="post" class="xsui-form" enctype="multipart/form-data">
        <fieldset>
            <div class="xsui-form-field">
                <label>分页尺寸：</label>
                <input type="text" name="page_size" value="{$data.page_size}" placeholder="姓名"  required="required" />
            </div>
            <div class="xsui-form-field">
                <label>语言：</label>
                <sohtml:select name="lang" items="zh-cn:简体中文;en-us:英语" value="{$data.lang|default=zh-cn}" required="required" />
            </div>
            <if condition="C('user.themeable')">
                <div class="xsui-form-field">
                    <label>主题样式：</label>
                    <sohtml:select name="theme" items="black-tie;blitzer;cupertino;dark-hive;dot-luv;eggplant;excite-bike;flick;hot-sneaks;humanity;le-frog;mint-choc;overcast;pepper-grinder;redmond;smoothness;south-street;start;su-list.php;sunny;swanky-purse;trontastic;ui-darkness;ui-lightness;vader" items_pair="false" value="{$data.theme|default=start}" required="required" />
                </div>
            </if>
        </fieldset>
        <button type="submit" class="ui-state-default"><i class="fa fa-save"></i>保存</button>
        <button type="reset" class="ui-state-default">重置</button>
        <input type="hidden" name="id" value="{$data.id}"/>
    </form>    
</block>